def foo():
    i = 10
    while i >= 0:
        i -= 1
        try:
            res = 10 / i
            if res == 2:
                return False
        except Exception as e:
            print(e)
        print(i)


print(foo())